﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucPaging.ascx.cs" Inherits="Giaiphongmatbang.UserControl.ucPaging" %>
<style type="text/css">
    .numberpaging {margin-right:20px; }    
    .pagging { height:20px; padding:8px 10px; line-height:19px; color:#949494; text-align:right; }
    .pagging a, .pagging .Current{ background:url(images/pagging.gif) repeat-x 0 0; height:20px; line-height:20px; padding:0 8px; border:solid 1px #d5d5d5; text-decoration: none; color:#949494;  }
    .pagging a:hover , .pagging .current01 { border-color:#8c3521; background:#ba4c32; color:#fff; }
    
</style>
<div class="pagging">
<asp:Label ID="ltpaging" runat="server" CssClass="numberpaging"></asp:Label>
    <asp:Repeater ID="rptPaging" runat="server" OnItemDataBound="rptPaging_ItemDataBound"
        OnItemCommand="rptPaging_ItemCommand">
        <ItemTemplate>
                <asp:LinkButton ID="linkPage" ValidationGroup="b" runat="server" Text='<%#Eval("Name") %>' CommandName="changepage" CommandArgument='<%#Eval("PageNumber") %>'
                ToolTip='<%#"Trang " + Eval("PageNumber") %>'></asp:LinkButton>
        </ItemTemplate>
    </asp:Repeater>
</div>
